<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>重庆大学硕士研究生服务系统</title>
<?php $this->load->view('includes/ga_head'); ?>  
</head>
<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 
<body class=""> 
<!--<![endif]-->
<?php $this->load->view('includes/ga_navbar'); ?>  
<?php $this->load->view('includes/ga_sidebar'); ?>  
<div class="content">
    <div class="header">
        <h1 class="page-title">新增招生宣传活动</h1>
    </div>
    <ul class="breadcrumb">
            <li><a href="index.html">Home</a> <span class="divider">/</span></li>
            <li><a href="<?php echo $base_url;?>gass_recruit/manage_recruit">招生宣传活动一览</a> <span class="divider">/</span></li>
            <li class="active">招生宣传活动</li>
    </ul>
    <div class="container-fluid">
        <div class="row-fluid">
    <?php $attributes = array('id' => 'new_recruit_form');echo form_open(current_url(), $attributes);?>
<div class="btn-toolbar">
  <button type="submit" class="btn btn-primary" id="form_btn"/><i class="icon-plus"></i> 增加
  </button>
  <input type="hidden" name="submit1" value="1" />
  <div class="btn-group">
  </div>
</div>
<?php $this->load->view('includes/ga_message'); ?>  
<div class="well">
       <label>活动名称</label>
       <input type="text" name="activity_alias" value="<?php echo set_value('activity_alias');?>" class="span4"/>
								<label>活动时间:</label>
								<input type="text" id="activity_begin" name="add_activity_begin" class="span4" readonly="readonly"/>
								——
								<input type="text" id="activity_over" name="add_activity_over" class="span4" readonly="readonly"/>

</div>
	  <?php echo form_close();?>
<?php $this->load->view('includes/ga_footer'); ?>  
        </div>
    </div>
</div>
<?php $this->load->view('includes/ga_scripts'); ?>
<script src="<?php echo $includes_dir;?>js/ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<script>
$(function() {
  $( "#activity_begin" ).datepicker();
});
$(function() {
  $( "#activity_over" ).datepicker();
});
$(document).ready(function(){
    $('#form_btn').confirm({
		'title' : '新增招生宣传活动',
		'message' : '您确定要新增该招生宣传活动吗？',        
		'action' : function() {
			$('#new_recruit_form').submit();
		}
	});
});
</script>  
</body>
</html>
